package com.fengxing.ams.web.facade.mouble.plan;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

public class PlanCacheVO {

	private Integer  id                       ;
	private Integer  year                     ;
	private String  subject                  ;
	private String  batch                    ;
	private String  college_code             ;
	private String  collegeName             ;
	private String  major_code               ;
	private String  major_name               ;
	private Integer  enroll_plan              ;
	private Integer  applyScore              ;
	private String  tuition                  ;
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((batch == null) ? 0 : batch.hashCode());
		result = prime * result
				+ ((college_id == null) ? 0 : college_id.hashCode());
		result = prime * result
				+ ((major_id == null) ? 0 : major_id.hashCode());
		result = prime * result + ((subject == null) ? 0 : subject.hashCode());
		result = prime * result + ((year == null) ? 0 : year.hashCode());
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		PlanCacheVO other = (PlanCacheVO) obj;
		if (batch == null) {
			if (other.batch != null)
				return false;
		} else if (!batch.equals(other.batch))
			return false;
		if (college_id == null) {
			if (other.college_id != null)
				return false;
		} else if (!college_id.equals(other.college_id))
			return false;
		if (major_id == null) {
			if (other.major_id != null)
				return false;
		} else if (!major_id.equals(other.major_id))
			return false;
		if (subject == null) {
			if (other.subject != null)
				return false;
		} else if (!subject.equals(other.subject))
			return false;
		if (year == null) {
			if (other.year != null)
				return false;
		} else if (!year.equals(other.year))
			return false;
		return true;
	}
	private String  location                 ;
	private String  remark                   ;
	private Integer  college_id               ;
	private Integer  major_id                 ;
	private Integer  description_id           ;
	private String  enroll_jianzhang         ;
	private Integer page_num;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getYear() {
		return year;
	}
	public void setYear(Integer year) {
		this.year = year;
	}
	public String getSubject() {
		return subject;
	}
	public void setSubject(String subject) {
		this.subject = subject;
	}
	public String getBatch() {
		return batch;
	}
	public void setBatch(String batch) {
		this.batch = batch;
	}
	public String getCollege_code() {
		return college_code;
	}
	public void setCollege_code(String college_code) {
		this.college_code = college_code;
	}
	public String getCollegeName() {
		return collegeName;
	}
	public void setCollegeName(String collegeName) {
		this.collegeName = collegeName;
	}
	public String getMajor_code() {
		return major_code;
	}
	public void setMajor_code(String major_code) {
		this.major_code = major_code;
	}
	public String getMajor_name() {
		return major_name;
	}
	public void setMajor_name(String major_name) {
		this.major_name = major_name;
	}
	public Integer getEnroll_plan() {
		return enroll_plan;
	}
	public void setEnroll_plan(Integer enroll_plan) {
		this.enroll_plan = enroll_plan;
	}
	public Integer getApplyScore() {
		return applyScore;
	}
	public void setApplyScore(Integer applyScore) {
		this.applyScore = applyScore;
	}
	public String getTuition() {
		return tuition;
	}
	public void setTuition(String tuition) {
		this.tuition = tuition;
	}
	public String getLocation() {
		return location;
	}
	public void setLocation(String location) {
		this.location = location;
	}
	public String getRemark() {
		return remark;
	}
	public void setRemark(String remark) {
		this.remark = remark;
	}
	public Integer getCollege_id() {
		return college_id;
	}
	public void setCollege_id(Integer college_id) {
		this.college_id = college_id;
	}
	public Integer getMajor_id() {
		return major_id;
	}
	public void setMajor_id(Integer major_id) {
		this.major_id = major_id;
	}
	public Integer getDescription_id() {
		return description_id;
	}
	public void setDescription_id(Integer description_id) {
		this.description_id = description_id;
	}
	public String getEnroll_jianzhang() {
		return enroll_jianzhang;
	}
	public void setEnroll_jianzhang(String enroll_jianzhang) {
		this.enroll_jianzhang = enroll_jianzhang;
	}
	public Integer getPage_num() {
		return page_num;
	}
	public void setPage_num(Integer page_num) {
		this.page_num = page_num;
	}
	
	
}
